﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Downloader.Domain;
using Downloader.Domain.QueryParams;
using Downloader.Framework.Queries;
using Downloader.Infrastructure;
using Downloader.Web.Controllers.ViewModels;
using SharpArch.NHibernate;

namespace Downloader.Web.Controllers.Queries
{
    public class UserAccountQuery : QueryBase, IUserAccountQuery
    {
        public RecordList<ViewModels.UserAccountViewModel> GetList(UserAccountQueryParams query)
        {
            query.IsDelete = false;
            return GetList<UserAccount, UserAccountViewModel>(query);
        }
    }
}
